package com.th.supcom.pds.impl.dao;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.th.supcom.pds.domain.vo.PdsPackageInfoVO;

/**
 * PdsSupplyPackage Mapper接口. add by Zli 用于供药分装维护。
 */
public interface PdsSupplyPackageMapper
{
    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";
    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";
    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";
    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    /**
     * 批量插入数据
     * 
     * @param list add by Zli
     */
    public void addPdsPackageInfo (PdsPackageInfoVO vo);

    /**
     * 根据药品名称插叙记录数
     * 
     * @param phamName
     * @return add by Zli
     */
    public int findPdsPackageInfoVOCountByName (String phamName);

    /**
     * 通过药品名称查询药品包装信息
     * 
     * @param rowBounds
     * @param phamName
     * @return
     * 
     */
    public List <PdsPackageInfoVO> findPdsPackageInfoVOWithPageByName (RowBounds rowBounds, String phamName);

    /**
     * 更新包装信息
     * 
     * @param pdsPackageInfoVO
     * @return add by Zli
     */
    public void modifyPdsPackageInfoByExample (PdsPackageInfoVO pdsPackageInfoVO);

    /**
     * 批量删除数据
     * 
     * @param serialNoList
     * @return add by Zli
     */
    public void removePdsPackageInfoByList (List <Long> serialNoList);
}